﻿#region Using directives

using System;
using System.Collections.Generic;
using System.Text;

using SoftwareType = Weazel.Gezel.Conversions.Model.Type;

#endregion

namespace Weazel.Gezel.Conversions.Model
{
  public class IntegerField : Field
  {
    private readonly int width;
    public int Width
    {
      get { return width; }
    }

    private readonly bool signed;
    public bool Signed
    {
      get { return signed; }
    }

    private readonly string initialValue;
    public string InitialValue
    {
      get { return initialValue; }
    }

    public IntegerField(string name, int width, bool signed, string initialValue) : base(name, "Integer")
    {
      this.width = width;
      this.signed = signed;
      this.initialValue = initialValue;
    }
  }
}
